<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{padding: 0;margin: 0;}
        li{list-style: none;}
        a{
            text-decoration: none;
            color: inherit;
        }
        html{
            font-size: -webkit-calc(100vw / 7.5);
        }
        body{
            font-size: 0.24rem;
        }
        html,body,#app{
            width: 100%;
            height: 100%;
        }
        #app{
            display: flex;
            flex-direction: column;
            align-content: space-between;
        }

        #app .app-header,#app .app-footer{
            height: 1rem;
            background-color: grey;
        }
        #app .app-main{
            flex:1;
            overflow-y: auto;
        }
        #app .app-footer {
            display: flex;
            text-align: center;
            line-height: 1rem;
        }
        #app .app-footer a{
            flex:1;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="app-header"></div>
        <div class="app-main">
            列表页
        </div>
        <div class="app-footer">
            <a href="./index.html">主页</a>
            <a href="./list.html">列表</a>
            <a href="">购物车</a>
            <a href="">我的</a>
        </div>
    </div>
</body>
</html>